home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xwall / Xreset.ksh < prev    next >
Text File  |  1995-06-20  |  170b  |  10 lines

  1. #!/bin/ksh
  2. #
  3. # Destroy authorization.
  4. xauth -f /.Xauthority remove $DISPLAY
  5. host=${DISPLAY%%:*}
  6. if [$host = ""]
  7. then
  8.     xauth -f /.Xauthority remove $(hostname)$DISPLAY
  9. fi
  10.